package edu.sctu.zhengsenwen.month201506.day20150619.extendsdemo;

/**
 * Created by user15 on 2015/6/19.
 */
public class FatherClass {

    double numberOne = 0;
    double numberTwo = 0;

    public double caculator(){

        double result = numberOne - numberTwo;

        return  result;
    }

    public FatherClass(){

    }

    public FatherClass(double numberOne,double numberTwo){

        this.numberOne = numberOne;
        this.numberTwo = numberTwo;
    }

}
